/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model.information;

import java.io.Serializable;
import java.util.Observable;

/**
 * A class that represents food in the diet plan.
 * @author Tobias Møller Kjærsgaard
 * @author Hjalte Blichfeldt Flyger
 * @author Gitte Simonsen
 * @author Claus Lund
 */

public class Food extends Observable implements Serializable {
   
    //////// Fields for class Food ////////

    private String name;
    private int prot;
    private int car;
    private int fat;
    private int kcal;

    //////// Constructor that takes params ////////

    public Food(String name, int prot, int car, int fat, int kcal) {
        this.name = name;
        this.prot = prot;
        this.car = car;
        this.fat = fat;
        this.kcal = kcal;
    }

    //////// Getters & Setters for fields ////////

    public int getCar() {
        return car;
    }

    public void setCar(int car) {
        this.car = car;
    }

    public int getFat() {
        return fat;
    }

    public void setFat(int fat) {
        this.fat = fat;
    }

    public int getKcal() {
        return kcal;
    }

    public void setKcal(int kcal) {
        this.kcal = kcal;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getProt() {
        return prot;
    }

    public void setProt(int prot) {
        this.prot = prot;
    }

    //////// Place other methods ////////

}
